package zzs.generalframework.console.core.parameter.commonparameter.nationality.dao;

import java.util.List;

import zzs.generalframework.common.core.parameter.commonparameter.nationality.NationalityInfo;
import zzs.generalframework.common.core.parameter.commonparameter.nationality.NationalityPO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.parameter.commonparameter.nationality.dao
 * @author zzs
 * @date 2018年2月2日
 * @version 1.0
 */
public interface INationalityDao
{
	/**
	 * 创建民族信息
	 * 
	 * @param nationalityPO
	 * @return
	 */
	public boolean insert(NationalityPO nationalityPO);

	/**
	 * 更新民族信息
	 *
	 * @param nationalityPO
	 * @return
	 */
	public boolean update(NationalityPO nationalityPO);

	/**
	 * 查询民族信息
	 *
	 * @param nationalityInfo
	 * @return
	 */
	public List<NationalityPO> select(NationalityInfo nationalityInfo);

	/**
	 * 删除民族信息
	 *
	 * @param nationalityPO
	 * @return
	 */
	public boolean delete(NationalityPO nationalityPO);

	/**
	 * 统计民族信息
	 * 
	 * @param nationalityPO
	 * @return
	 */
	public Long count(NationalityPO nationalityPO);

}
